package com.zzqstart.bannerservice.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzqstart.bannerservice.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzqstart.bannerservice.entity.QueryBanner;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-03-06
 */
public interface BannerService extends IService<Banner> {

    List<Banner> getPartBanner();

    Map<String, Object> pageBanner(Long page, Long limit, QueryBanner banner);
}
